<template>
  <div class="card-wrap flex">
    <div class="card-content shadow__box--mini">
      <img
        class="card-img"
        src="http://img.xjlyh.site/2023/09/16/e08d922ecceb416c93e9d54f7b8d7ed2.jpeg"
      />

      <div class="card-right">
        <div class="card-title">点点滴滴</div>
        <div class="card-desc">☀️今朝有酒今朝醉</div>
      </div>
    </div>

    <div class="card-content shadow__box--mini">
      <img
        class="card-img"
        src="http://img.xjlyh.site/2023/09/16/69bc5bba0d8f4ba9a39a2efe2e2e842a.png"
      />

      <div class="card-right">
        <div class="card-title">时光相册</div>
        <div class="card-desc">📸记录美好瞬间</div>
      </div>
    </div>

    <div class="card-content shadow__box--mini">
      <img
        class="card-img"
        src="http://img.xjlyh.site/2023/09/16/7ddd93097a0444d6ac9eb52db6568a1e.jpeg"
      />

      <div class="card-right">
        <div class="card-title">祝福板</div>
        <div class="card-desc">📋写下对我们的祝福</div>
      </div>
    </div>
  </div>
</template>
<script lang="ts" setup></script>
<style lang="scss" scoped>
.card-wrap {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  padding: 20px 0;
}
.card-content {
  display: flex;
  padding: 25px;
  margin: 25px auto;
  border-radius: 20px;
  max-width: 780px;
  cursor: pointer;
  transition: all 0.3s;
  background: #fff;
  &:hover {
    transform: translateY(-6px);
  }
}
.card-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
}
.card-right {
  margin-left: 20px;
}

.card-title {
  font-size: 1.6rem;
  letter-spacing: 0.2rem;
  line-height: 3.5rem;
  font-weight: 700;
}

.card-desc {
  font-size: 1.1rem;
  letter-spacing: 0.2rem;
  color: #777777;
}
</style>
